package br.edu.ufcg.splab.simulator;



/**
 * @author Mayza Nunes;
 * 
 * <P>This class is a grouping with possible states of the graph(join,loop and fork)
 * 	
 */

public enum StructuralPattern {
	/**
	 * <P>Loop(path with loop) is a state that forms a cycle,
	 * 	in which one vertex are connected with another vertex that stay before the source vertex.
	 * 	How can be seen with below,we have a loop from vertex 5 to vertex 3. 
	 * 
	 * <P> <img alt="Loop"  src="../../../../../pictures/pathwithloop.jpg">
	 * 
 	 */
	loop,
	/**
	 * <P> Join is a state with more than one incoming transition,that comes from to different vertices. As in Figure .
	 *  Such as example,where the vertices 2 and 6 are connected to vertex 5.
	 *  
	 *  <P> <img alt="Loop"  src="../../../../../pictures/join.jpg">
	 */
	join,
	/**
	 * <P> Fork is a state with more than one outgoing transition,how can been below example,the vertex 5 has two outgoings intransitions for the vertices 2 and 6.
	 * 
	 * <P> <img alt="Loop"  src="../../../../../pictures/fork.jpg">
	 * 
	 */
	fork;
	

}
